package com.qf.smartdevice.service;

import com.github.pagehelper.PageInfo;
import com.qf.smartdevice.pojo.SysCategory;

import java.util.List;

/**
 * @author 王博康
 * @version 1.0
 * @project devicemanagementsystem
 * @description: TODO
 * @date 2022/3/20 11:20 星期日
 */
public interface SysCategoryService {

    void addCategory(SysCategory sysCategory);

    PageInfo<SysCategory> findByPage(int pageNum, int pageSize, String categoryName);

    SysCategory findById(Long id);

    int updateCategory(SysCategory sysCategory);

    int deleteByIds(List<Long> ids);
}
